package com.example.administrator.exkotlin

import android.app.Application
import android.content.Context
import android.content.SharedPreferences

class MyApplication : Application() {
    //静态对象
    companion object {
        @JvmStatic
        lateinit var Instance :MyApplication
    }
    override fun onCreate() {
        super.onCreate()
        Instance=this
    }

}